//爬行动物
interface IWalkable {
    void walk() ;
    //水生动物
    interface ISwimable{
        void swim();
    }
    //两栖动物
    class Amphibousable implements IWalkable,ISwimable{
        void eat(){
            System.out.println("喝水");
        };

        @Override
        public void swim() {
            System.out.println("游泳");
        }

        @Override
        public void walk() {
            System.out.println("爬行");

        }
    }


}
